package com.niodata.dp.monitor.sharelib.entity.presto;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * Created by ndp on 17-12-25.
 */
public class PrestoQuery implements Serializable {

  private String user;
  private String source;
  private String query;
  private int queuedTimeMs;
  private String state;
  private Timestamp started;
  private Timestamp end;

  public String getUser() {
    return user;
  }

  public void setUser(String user) {
    this.user = user;
  }

  public String getSource() {
    return source;
  }

  public void setSource(String source) {
    this.source = source;
  }

  public String getQuery() {
    return query;
  }

  public void setQuery(String query) {
    this.query = query;
  }

  public int getQueuedTimeMs() {
    return queuedTimeMs;
  }

  public void setQueuedTimeMs(int queuedTimeMs) {
    this.queuedTimeMs = queuedTimeMs;
  }

  public String getState() {
    return state;
  }

  public void setState(String state) {
    this.state = state;
  }

  public Timestamp getStarted() {
    return started;
  }

  public void setStarted(Timestamp started) {
    this.started = started;
  }

  public Timestamp getEnd() {
    return end;
  }

  public void setEnd(Timestamp end) {
    this.end = end;
  }
}
